package com.ktgj.flight.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 国际机票退票订单对象 iflight_refund
 * 
 * @author ruoyi
 * @date 2022-05-31
 */
public class IflightRefund extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 退改签标识ID */
    private Long refundid;

    /** 订单表主键ID */
    @Excel(name = "订单表主键ID")
    private Long orderid;

    /** 1:退2:废3:支付成功做的订单取消 */
    @Excel(name = "1:退2:废3:支付成功做的订单取消")
    private Long refundtype;

    /** 1:原路返回2:预留款 */
    @Excel(name = "1:原路返回2:预留款")
    private Long refundtypeway;

    /** 10.预定部申请20.产品部审核成功（填写应退金额）21.审核失败30.财务x审核成功,调用自动退款（确认退款金额，卡号等信息是否完善）31.财务x审核失败32.退款成功33.退款失败 */
    @Excel(name = "10.预定部申请20.产品部审核成功", readConverterExp = "填=写应退金额")
    private Long refundstatus;

    /** 出票商实退 */
    @Excel(name = "出票商实退")
    private BigDecimal rtotalamount;

    /** 应退申请总退票客人金额（实际应该退给客人金额） */
    @Excel(name = "应退申请总退票客人金额", readConverterExp = "实=际应该退给客人金额")
    private BigDecimal ramount;

    /** 手续费 */
    @Excel(name = "手续费")
    private BigDecimal rfeeamount;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operatetime;

    /** 操作员工 */
    @Excel(name = "操作员工")
    private Long operateemployeeid;

    /** 创建员工 */
    @Excel(name = "创建员工")
    private Long createemployeeid;

    /** $column.columnComment */
    @Excel(name = "创建员工")
    private BigDecimal refunddeposit;

    public void setRefundid(Long refundid) 
    {
        this.refundid = refundid;
    }

    public Long getRefundid() 
    {
        return refundid;
    }
    public void setOrderid(Long orderid) 
    {
        this.orderid = orderid;
    }

    public Long getOrderid() 
    {
        return orderid;
    }
    public void setRefundtype(Long refundtype) 
    {
        this.refundtype = refundtype;
    }

    public Long getRefundtype() 
    {
        return refundtype;
    }
    public void setRefundtypeway(Long refundtypeway) 
    {
        this.refundtypeway = refundtypeway;
    }

    public Long getRefundtypeway() 
    {
        return refundtypeway;
    }
    public void setRefundstatus(Long refundstatus) 
    {
        this.refundstatus = refundstatus;
    }

    public Long getRefundstatus() 
    {
        return refundstatus;
    }
    public void setRtotalamount(BigDecimal rtotalamount) 
    {
        this.rtotalamount = rtotalamount;
    }

    public BigDecimal getRtotalamount() 
    {
        return rtotalamount;
    }
    public void setRamount(BigDecimal ramount) 
    {
        this.ramount = ramount;
    }

    public BigDecimal getRamount() 
    {
        return ramount;
    }
    public void setRfeeamount(BigDecimal rfeeamount) 
    {
        this.rfeeamount = rfeeamount;
    }

    public BigDecimal getRfeeamount() 
    {
        return rfeeamount;
    }
    public void setOperatetime(Date operatetime) 
    {
        this.operatetime = operatetime;
    }

    public Date getOperatetime() 
    {
        return operatetime;
    }
    public void setOperateemployeeid(Long operateemployeeid) 
    {
        this.operateemployeeid = operateemployeeid;
    }

    public Long getOperateemployeeid() 
    {
        return operateemployeeid;
    }
    public void setCreateemployeeid(Long createemployeeid) 
    {
        this.createemployeeid = createemployeeid;
    }

    public Long getCreateemployeeid() 
    {
        return createemployeeid;
    }
    public void setRefunddeposit(BigDecimal refunddeposit) 
    {
        this.refunddeposit = refunddeposit;
    }

    public BigDecimal getRefunddeposit() 
    {
        return refunddeposit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("refundid", getRefundid())
            .append("orderid", getOrderid())
            .append("refundtype", getRefundtype())
            .append("refundtypeway", getRefundtypeway())
            .append("refundstatus", getRefundstatus())
            .append("rtotalamount", getRtotalamount())
            .append("ramount", getRamount())
            .append("rfeeamount", getRfeeamount())
            .append("operatetime", getOperatetime())
            .append("operateemployeeid", getOperateemployeeid())
            .append("createTime", getCreateTime())
            .append("createemployeeid", getCreateemployeeid())
            .append("remark", getRemark())
            .append("refunddeposit", getRefunddeposit())
            .toString();
    }
}
